package dynamic.metadata;

import dynamic.metadata.property.*;
import lombok.Getter;
import lombok.Setter;

import java.lang.reflect.ParameterizedType;

@Setter
@Getter
public class EntityProperty {

    private String propertyName;
    private String fieldName;
    private Class<?>  propertyClass;
    private EntityClass  genericType;
    private ParameterizedType parameterizedType;
    private OrderBy orderBy;

    private TableId tableId;
    private TableLogic tableLogic;
    private TableField tableField;

    private EntityClass entityClass;
    private Version version;

    public EntityProperty(EntityClass entityClass) {
        this.entityClass = entityClass;
    }
    public EntityProperty(){

    }

    private boolean writeAble;
    private boolean readAble;

}
